package com.ssy.lingxi.platform.template.service.model.dto.adorn;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 广告 - DTO
 * @author fhj
 * @date 2020/10/17
 * @version 2.0.0
 */
@Data
public class AdvertDTO {

    @NotNull(message = "模板ID不能为空")
    @ApiModelProperty(value = "模板ID")
    private Long templateId;

    @NotNull(message = "广告类型不能为空")
    @ApiModelProperty(value = "广告类型: 1.一号广告 2.二号广告 3.三号广告 4.四号广告")
    private Integer type;

    @ApiModelProperty(value = "品类ID 当广告类型为三号广告时才有ID值")
    private Long categoryId;

    @ApiModelProperty(value = "会员ID")
    private Long memberId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;
}
